package com.bwhx.eruler.service.casdilly;

import java.util.List;

import com.bwhx.eruler.bean.Page;
import com.bwhx.eruler.bean.casdilly.Contract;
import com.bwhx.eruler.bean.casdilly.FenchangStatus;
import com.bwhx.eruler.bean.casdilly.Linkman;

public interface LinkmanService {

	List<Linkman> findByContractSerial(String cPIDSerial);

	void insert(Linkman lm);

	void update(Linkman lm);

	List<Linkman> list(Page p);

	Integer count(Linkman linkman);

	void delete(Linkman lm);

	List<Linkman> findByContractSerialAndCreatorID(String attribute, String attribute2, Integer pageNumber);

	List<FenchangStatus> linkmanStatusList(Page p);

	Integer linkmanStatusCount(Linkman linkman);

 
	List<Linkman> findByNameAndContractSerial(Linkman lm);

	void updateDelFlagByContract(Contract contract);

}
